<!DOCTYPE html>
<html>
    <head>
        <title>Acesso Restrito</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width">
        <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
        <link href="bootstrap/css/login.css" rel="stylesheet">           
        <script language="javascript" >
            function validaForm() {
                formulario = document.form_login;
                if (formulario.perfil.value == "0") {
                    alert("Você deve selecionar um Perfil!!");
                    formulario.perfil.focus();
                    return false;
                }
                if (formulario.login.value == "") {
                    alert("O Campo Usuario deve ser preenchido!!");
                    formulario.login.focus();
                    return false;
                }
                if (formulario.senha.value == "") {
                    alert("O Campo Senha deve ser preenchido!!");
                    formulario.senha.focus();
                    return false;
                }
                return true;
            }
        </script>
    </head>
    <body>
        <div class="container">            
            <form class="form-signin" action="#" method="post" name="form_login" onsubmit="return validaForm()">
                <div align="center">
                    <img src="img/sigest2.png">
                </div>
                <h3 class="form-signin-heading">Faça Login</h3>
                <select class="input-block-level" name="perfil">
                    <option value="0" >Selecione o Perfil:</option>
                    <option value="1">Empresa</option>
                    <option value="2">Coordenação</option>
                    <option value="3">Aluno</option>
                </select>
                <input type="text" class="input-block-level" placeholder="Usuário" name="login">
                <input type="password" class="input-block-level" placeholder="Senha" name="senha">
                <button class="btn btn-large btn-success btn-block" type="submit">Entrar</button>
            </form>
        </div>
        <script src="http://code.jquery.com/jquery-latest.js"></script>
        <script src="bootstrap/js/bootstrap.js"></script>     
    </body>
</html>